package org.minbox.framework.microservice.common.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import org.minbox.framework.microservice.common.entity.GoodInfo;

/**
 * 商品基本信息
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DGoodInfo extends TableExpression<GoodInfo> {

    public DGoodInfo(String root) {
        super(root);
    }

    public static DGoodInfo DSL() {
        return new DGoodInfo("good_info");
    }

    /**
     * 编号自增
     */
    public ColumnExpression id = new ColumnExpression("gi_id", this);
    /**
     * 商品名称
     */
    public ColumnExpression name = new ColumnExpression("gi_name", this);
    /**
     * 价格
     */
    public ColumnExpression price = new ColumnExpression("gi_price", this);
    /**
     * 状态
     */
    public ColumnExpression status = new ColumnExpression("gi_status", this);
    /**
     * 添加时间
     */
    public ColumnExpression createTime = new ColumnExpression("gi_create_time", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{id, name, price, status, createTime};
    }

}

